<?php
include './functions.php';
if(IS_POST){
	include './Upload.class.php';
	$upload = new Upload;
	$upload->up();
	echo $upload->error;
}

 ?>
<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Document</title>
	<link rel="stylesheet" type="text/css" href="css/indexs.css"/>
	<link rel="stylesheet" type="text/css" href="../bt3/css/bootstrap.min.css"/>
	<link rel="stylesheet" type="text/css" href="../css/animate.css"/>
</head>
<body>
	<div id="box">
		<div class="box1">
			<div class="nav">照片墙</div>
			<div class="main">
				<iframe src="a.php" scrolling="auto"></iframe>
			</div>
			<div class="cent">
				<form action="" method="post" enctype="multipart/form-data">
					<a href="javascript:;" class="file">选择文件<input class="c" type="file" name="up[]" id="" multiple="multiple"/></a>
					<a href="javascript:;" class="file"><input class="d" type="submit" value="上传"/>上传</a>
				</form>
			</div>
		</div>
	</div>
</body>
</html>
